<template>
	<div class="wos-flex">
		<div>
			<aiBar></aiBar>
		</div>
		<div style="padding: 40px 0">
			<div class="wos-flex" style="padding: 10px 0">
				<div style="width: 100px; text-align: center">开始</div>
				<div><a-date-picker show-time  style="width: 220px" :value="nowTime"/></div>
			</div>

			<div class="wos-flex" style="padding: 10px 0">
				<div style="width: 100px; text-align: center">结束</div>
				<div><a-date-picker show-time style="width: 220px" :value="nowTime"/></div>
			</div>

			<div class="wos-flex" style="padding: 10px 0">
				<div style="width: 100px; text-align: center">类型</div>
				<div>
					<select style="width: 220px" class="wos-input">
						<option value="">非机动车</option>
						<option value="">智能交通</option>
					</select>
				</div>
			</div>
			<div class="wos-flex" style="padding: 40px 0 0 100px">
				<button class="wos-btn wos-btn-yes" style="width: 220px">查询</button>
			</div>
		</div>
	</div>
</template>

<script>
    import aiBar from './aiBar'

    export default {
        name: "analysis",
        components:{
            aiBar
        },
        computed:{
            nowTime:function(){
                const myDate = new Date;
                const year = myDate.getFullYear();//获取当前年
                const month = myDate.getMonth()+1;//获取当前月
                const date = myDate.getDate();//获取当前日
                const hour = myDate.getHours();//获取当前小时数(0-23)
                const minute = myDate.getMinutes();//获取当前分钟数(0-59)
                const second = myDate.getSeconds();//获取当前秒
                return `${year}-${month}-${date}   ${hour}:${minute}:${second}`
            }
        }
    }
</script>

<style scoped>

</style>
